package com.woniuxy.counter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("hold_stock")
public class HoldStock {
    @TableId(type = IdType.AUTO)
    private int id;
    private int stockId;
    private int userId;
    private int nums;
    @TableField(exist = false)
    private BigDecimal singlePrice;
}
